#ifndef _DevicesPower_H_
#define _DevicesPower_H_


#define POWER_CHANNEL_DCDC_OUT      0x01
#define POWER_CHANNEL_ALL           0xFF


#define POWER_DCDC_OUT_GPIO_Port    GPIOC
#define POWER_DCDC_OUT_Pin          GPIO_PIN_12


#define POWER_DCDC_OUT_ENABLE()     gpio_bit_set(POWER_DCDC_OUT_GPIO_Port,   POWER_DCDC_OUT_Pin)
#define POWER_DCDC_OUT_DISABLE()    gpio_bit_reset(POWER_DCDC_OUT_GPIO_Port, POWER_DCDC_OUT_Pin)


void vPowerInit(void);
void vPowerOpen(uint16_t usNumber);
void vPowerClose(uint16_t usNumber);


#endif
